﻿using Entities;

namespace DataAccess
{
    interface IUserDataAccess
    {
        /// <summary>
        /// Gets the user.
        /// </summary>
        /// <param name="account">The account.</param>
        /// <param name="password">The password.</param>
        /// <returns></returns>
        User GetUser(string account,string password);
        /// <summary>
        /// Gets the password.
        /// </summary>
        /// <param name="account">The account.</param>
        /// <returns></returns>
        string GetPassword(string account);
        /// <summary>
        /// Gets the email.
        /// </summary>
        /// <param name="account">The account.</param>
        /// <returns></returns>
        string GetEmail(string account);

        /// <summary>
        /// Gets the user.
        /// </summary>
        /// <param name="account">The account.</param>
        /// <returns></returns>
        User GetUser(string account);
    }
}
